/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.adastros.buildingmanager.model;

import java.util.Date;

/**
 *
 * @author developer
 */
public class BuildingStaff {

  public enum Role {
    PRESIDENT("Presidente"), SECRETARY("Secretario"), KEEPER("Vigilante"), CLEANER("Limpiador"),  MANAGER("Administrador") ;
    
    private final String name ;    
    
    private Role(String name) {
      this.name = name ;
    }
    
    @Override
    public String toString() {
      return name ;
    }        
  }

  private Person person;
  private Date from;
  private Date to;

  private Role role;
    
  public Person getPerson() {
    return person;
  }

  public void setPerson(Person person) {
    this.person = person;
  }

  public Date getFrom() {
    return from;
  }

  public void setFrom(Date from) {
    this.from = from;
  }

  public Date getTo() {
    return to;
  }

  public void setTo(Date to) {
    this.to = to;
  }

  public Role getRole() {
    return role;
  }

  public void setRole(Role role) {
    this.role = role;
  }
}
